package com.macro.mall.portal.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 生成订单时传入的参数
 * Created by macro on 2018/8/30.
 */
@Data
@EqualsAndHashCode
public class OrderParam {

    /*
    个人信息
     */
    @ApiModelProperty("收货地址ID")
    private Long memberReceiveAddressId;
    @ApiModelProperty("联系人")
    private String name;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("船舶名称")
    private String shipName;
    @ApiModelProperty("职位名称")
    private String positionName;
    @ApiModelProperty("船厂/码头名字")
    private String shipCompany;
    @ApiModelProperty("城市名称")
    private String city;


    /*
    优惠信息
     */
    @ApiModelProperty("优惠券ID")
    private Long couponId;
    @ApiModelProperty("使用的积分数")
    private Integer useIntegration;





    /*
    商品信息
     */
    @ApiModelProperty("支付方式")
    private Integer payType;
    @ApiModelProperty("被选中的商品ID")
    private String productId;
    @ApiModelProperty("被选中的商品Sku")
    private String productSku;
    @ApiModelProperty("商品数量")
    private Integer productNum;
    @ApiModelProperty("被选中的购物车商品ID")
    private List<Long> cartIds;
}
